package net.huashitong.user.entity;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.sirdc.modules.core.entity.StringEntity;

/**
 * 收藏表
 * @author lzr
 *
 */
@Entity
@Table(name ="t_gis_collection")
public class Collection extends StringEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 570887248115181795L;

	private String userId;			//用户Id

	private String collectionTime; 	//收藏日期

	private String codeId;			//指标

	private String codeType;		//指标类型，Y月度 J季度，N年度 A010202

	private String areaCode;		//地区

	private String areaType;   //  A B C D   市级 区级  十五个 全国

	private String dateTime;	//收藏指标的时间

	private String photoId;//图片ID

	private String text;//文字描述

	private String alertId;//预警ID


	public String getAreaType() {
		return areaType;
	}

	public void setAreaType(String areaType) {
		this.areaType = areaType;
	}

	public String getCodeId() {
		return codeId;
	}

	public void setCodeId(String codeId) {
		this.codeId = codeId;
	}

	public String getCodeType() {
		return codeType;
	}

	public void setCodeType(String codeType) {
		this.codeType = codeType;
	}

	public String getAreaCode() {
		return areaCode;
	}

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	public String getCollectionTime() {
		return collectionTime;
	}

	public void setCollectionTime(String collectionTime) {
		this.collectionTime = collectionTime;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}


	public String getPhotoId() {
		return photoId;
	}

	public void setPhotoId(String photoId) {
		this.photoId = photoId;
	}



	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getAlertId() {
		return alertId;
	}

	public void setAlertId(String alertId) {
		this.alertId = alertId;
	}

	public String getDateTime() {
		return dateTime;
	}

	public void setDateTime(String dateTime) {
		this.dateTime = dateTime;
	}
}
